package day4.Exer;

public class Card {
    String cardNo;
    String name;
    String phone;
    int point;
    public Card(String cardNo,String name,String phone,int point){
        this.cardNo=cardNo;
        this.name=name;
        this.phone=phone;
        this.point=point;
    }
    public void showcardinfo() {
        System.out.println("这张会员卡的卡号是" + cardNo + "，会员姓名是" + name + "，会员电话是" + phone + "，卡内积分是" + point);
    }


}
